<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title>50元话费免费得</title>
        <meta name="viewport" content="initial-scale=1, maximum-scale=1">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link rel="stylesheet" href="__PUBLIC__/h5/acti/css/active.css">
        <link rel="stylesheet" href="__PUBLIC__/h5/acti/css/sm.min.css">
		<script src='__PUBLIC__/h5/acti/js/jquery.min.js'></script>
		<style>
			.content{background: url(__PUBLIC__/h5/acti/img/bj1.jpg) no-repeat 0 0;background-size:100% 100%;}
			#mcoverfg {position:fixed;top:0;left: 0;width:100%;height:100%;background: rgba(0, 0, 0, 0.7);display:block;z-index: 20000;}
			.mcoverfg_bottk{width:100%;text-align:right;}
			.mcoverfg_bottk img{width:90%;margin-right:6%;margin-top:2%;}
		</style>
    </head>
    <body>
        <div class="page-group">
            <div class="page page-current">
                <div class="content">
					<div class="content-block">
						<div class="content1"><img src="__PUBLIC__/h5/acti/img/jiemian1.png"></div>
						<div class="content2">
							<div class="content_img"><img src="{$item['img']}"></div>
							<div class="content_title">{$item['nickname']}</div>
						</div>
						<div class="content3"><img src="__PUBLIC__/h5/acti/img/wenben5.png"></div>
						<div class="content4"><a href="{:U('Acti/boostph')}?img={$item.img}&nickname={$item.nickname}&id={$item.id}&area={$item.area}"><img src="__PUBLIC__/h5/acti/img/anniu1.png"></a></div>
					</div>
				</div>
				
				<!--引导页-->
				<div id="mcoverfg" style="display:none;">
					<div class="mcoverfg_bottk"><img src="__PUBLIC__/h5/acti/img/66033.png"></div>
				</div>
				
            </div>
        </div>
    </body>
	
	<script>

	//判断访问终端
	var browser={
		versions:function(){
			var u = navigator.userAgent, app = navigator.appVersion;
			return {
				trident: u.indexOf('Trident') > -1, //IE内核
				presto: u.indexOf('Presto') > -1, //opera内核
				webKit: u.indexOf('AppleWebKit') > -1, //苹果、谷歌内核
				gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') == -1,//火狐内核
				mobile: !!u.match(/AppleWebKit.*Mobile.*/), //是否为移动终端
				ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), //ios终端
				android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1, //android终端或者uc浏览器
				iPhone: u.indexOf('iPhone') > -1 , //是否为iPhone或者QQHD浏览器
				iPad: u.indexOf('iPad') > -1, //是否iPad
				webApp: u.indexOf('Safari') == -1, //是否web应该程序，没有头部与底部
				weixin: u.indexOf('MicroMessenger') > -1, //是否微信 （2015-01-22新增）
				qq: u.match(/\sQQ/i) == " qq" //是否QQ
			};
		}(),
		language:(navigator.browserLanguage || navigator.language).toLowerCase()
	}


    //判断设备是否是手机还是电脑
    function isMobileClient() {
        var userAgentInfo = navigator.userAgent;
        var Agents = new Array("Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod");
        var agentinfo = null;
        for (var i = 0; i < Agents.length; i++) {
            if (userAgentInfo.indexOf(Agents[i]) > 0) {
                agentinfo = userAgentInfo;
                break;
            }
        }
        if (agentinfo) {
            return true;
        } else {
            return false;
        }
    }

    if (isMobileClient()) {
        $("#mcoverfg").show();
		//$("#mcoverfg").hide();
        flag = false;
    } else {
        $("#mcoverfg").hide();
        flag = false;
    }

    //判断是否是微信中的浏览器
    var ua = navigator.userAgent.toLowerCase();
    if(ua.match(/MicroMessenger/i) == "micromessenger"){                                                                        
         $("#mcoverfg").show();
		 //$("#mcoverfg").hide();
        flag = false;
    }else{
		$("#mcoverfg").hide();
        flag = false;
	}
	
</script>
</html>